package com.newcapec.bean;

/**
 * @Description:栏目实体类
 * @Author:yangshupeng
 * @Date: 2022/3/13 13:59
 * @Version:1.0
 */
public class ColumnEntity {
    private int id;
    private String name;
    private int sort;
    private String crtime;
    private String uptime;

    public ColumnEntity(){

    }

    public ColumnEntity(String name, int sort) {
        this.name = name;
        this.sort = sort;
    }

    public ColumnEntity(int id, String name, int sort) {
        this.id = id;
        this.name = name;
        this.sort = sort;
    }

    public ColumnEntity(int id, String name, int sort, String crtime, String uptime) {
        this.id = id;
        this.name = name;
        this.sort = sort;
        this.crtime = crtime;
        this.uptime = uptime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public String getCrtime() {
        return crtime;
    }

    public void setCrtime(String crtime) {
        this.crtime = crtime;
    }

    public String getUptime() {
        return uptime;
    }

    public void setUptime(String uptime) {
        this.uptime = uptime;
    }

    @Override
    public String toString() {
        return "ColumnEntity{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sort=" + sort +
                ", crtime='" + crtime + '\'' +
                ", uptime='" + uptime + '\'' +
                '}';
    }
}
